package org.edu.modules.summary.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_cuz_course_summary")
@ApiModel(value="ve_cuz_course_summary对象", description="课程简介")
public class VeCuzCourseSummary
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @Excel(name="课程ID，主键", width=15.0D)
    @ApiModelProperty("课程ID，主键")
    @TableId
    private Integer courseid;
    @Excel(name="简介内容", width=15.0D)
    @ApiModelProperty("简介内容")
    private String content;
    @Excel(name="多租户id", width=15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public String toString()
    {
        return "VeCuzCourseSummary(courseid=" + getCourseid() + ", content=" + getContent() + ", placeId=" + getPlaceId() + ")";
    }

    public VeCuzCourseSummary setContent(String content)
    {
        this.content = content;return this;
    }

    public VeCuzCourseSummary setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public VeCuzCourseSummary setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $content = getContent();result = result * 59 + ($content == null ? 43 : $content.hashCode());return result;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeCuzCourseSummary)) {
            return false;
        }
        VeCuzCourseSummary other = (VeCuzCourseSummary)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$content = getContent();Object other$content = other.getContent();return this$content == null ? other$content == null : this$content.equals(other$content);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeCuzCourseSummary;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public String getContent()
    {
        return this.content;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }
}
